<?php
require_once "Validering.php";

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<link rel="stylesheet" type="text/css" href="stilmall.css" />
	<head>
		<title>Testdriven utveckling</title>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	</head>
	<body>
		<?php

		$Vald = new Validering();
		echo $Vald -> DoLoginBox();
		if ($Vald -> TriedToLogin() == True) {
			//echo $Vald->StripSome($Vald->GetInput());
			//echo $Vald->StripAll($Vald->GetInput());
			//echo $Vald->ValidatePassword($Vald->GetInput());
			//echo $Vald->ValidateEmail($Vald->GetInput());
			//echo $Vald->ValidateDate($Vald->GetInput());
			//echo $Vald->ValidatePRNMR($Vald->GetInput());
		}
		echo "Automatiska testfall<br />";
		if ($Vald -> Test() == true) {
			echo "Alla test Lyckades";
		}
		?>
		</p>
	</body>
</html>